package cn.zqy.demo2.day01.demo01;

public class Demo01ToString {

    private String name;
    private int age;

   /* @Override
    public String toString() {
        return "Demo01ToString{" + "name='" + name + '\'' + ", age=" + age + '}';
    }*/

    public Demo01ToString() {
    }

    public Demo01ToString(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
